FROM comicrelief/php7-base

ADD workerman /workerman

WORKDIR /workerman

## 覆盖默认 entrypoint
ENTRYPOINT /workerman/run.sh

RUN docker-php-ext-install pcntl \
    && chmod a+x run.sh


